package com.huaxindata.common.base;

import android.app.Application;

import com.baidu.mapapi.SDKInitializer;
import com.huaxindata.common.util.Logger;

import cn.jpush.android.api.JPushInterface;

/**
 * Created by Administrator on 2017/9/20.
 * BaseLibrary的自定义Application类
 */

public class LibraryApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        Logger.e("xxx","==library中初始化极光服" +
                "" +
                "务");
        JPushInterface.setDebugMode(true);// 设置开启日志,发布时请关闭日志
        JPushInterface.init(this);// 初始化jpush
        SDKInitializer.initialize(this);
    }
}
